package com.li.youhappygo.service;

import com.github.pagehelper.PageInfo;
import com.li.youhappygo.model.dto.OrderQueryParamDto;
import com.li.youhappygo.model.vo.order.OrderDetailVo;
import com.li.youhappygo.model.vo.order.OrderVo;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface OrderService {
    List<OrderVo> getAllOrder(Integer pageNum, Integer pageSize);

    List<OrderDetailVo> getDetailInfoByOrderId(Integer pageNum,Integer pageSize);


    List<OrderVo> getOrderByStatus(Integer status, Integer pageNum, Integer pageSize);

    OrderVo getOrderByOrderNum(String orderNum);

    void updateOrderStatus(List<Long> ids, Integer orderStatus);

    PageInfo<OrderDetailVo> getOrderByQueryParam(OrderQueryParamDto orderQueryParamDto, Integer pageNum, Integer pageSize);

    void updateRemark(Long orderId, String remark);

    OrderDetailVo getDetailInfoByOrderId2(Long orderId);

}
